#include "OAUtils.h"
#include<iostream>
using namespace std;
int OAUtils::InputNumber()
{
	int choice = -1;
	cin >> choice;
	while (cin.fail())
	{
		cin.clear();
		cin.ignore(numeric_limits<streamsize>::max(),'\n');
		cin >> choice;
	}
	return choice;
}